home *** CD-ROM | disk | FTP | other *** search
- Path: user2.mnsinc.com!huang
- From: huang@mnsinc.com (Szu-Wen Huang)
- Newsgroups: comp.lang.c
- Subject: Re: CONVERTING INTEGER TO ASCII??????
- Date: 14 Mar 1996 22:25:37 GMT
- Organization: Monumental Network Systems
- Message-ID: <4ia6d1$c5r@news1.mnsinc.com>
- References: <4i17r9$2kn@maltese.eag.unisysgsg.com> <4i1cvg$1cg@solutions.solon.com> <4ia3lb$i46@newshost.cyberramp.net>
- NNTP-Posting-Host: user2.mnsinc.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- John Noland (sinan@cyberramp.net) wrote:
-
- : Is this one them there 'torical questions?!?
-
- : Haven't you ever overlooked the obvious, Peter? As a young(er) programmer, I
- : remember that I used to write these crazy conversion routines for everything.
- : One day, another programmer was looking at my code and he said, "Why don't
- : you just use sprintf here?". I was floored. That hadn't even crossed
- : my mind. sprintf. What a cool function. I was so busy being clever, I
- : overlooked the obvious. This was many years ago, but I still remember it and
- : I still tend towards trying to be clever rather than obvious. Hmm, there's a
- : lesson in there for me, somewhere. I just can't quite put my finger on it...
-
- Could the lesson be: Learn thy library routines? ;)
-